package cn.kgc.ffzw.day14.src.homework;

public class Soldier {
    int gongji;
    int fangyu;
    int shenming;

    public void kill(){
        System.out.println("小兵攻击力："+gongji);
        System.out.println("小兵防御值："+fangyu);
        System.out.println("小兵生命值："+shenming);
        System.out.println("小兵发动攻击技能");
    }

    public void move(){
        System.out.println("小兵正在向水晶移动");
    }
}
